<?php

namespace app\middleware;

use \yifang\middleware\Middleware_contract;

class Seller_info implements Middleware_contract
{
    /**
     *  处理请求
     */
    public function handle($request, \Closure $next)
    {
        $seller_id=Yifang_GetSellerId();
        $request->setProcessData(["seller_id"=>$seller_id]);
        $response = $next($request);
        return $response;
    }
}
